package com.lichongbing.lyoggl.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lichongbing.lyoggl.model.Vflags;
import com.lichongbing.lyoggl.service.VflagsService;
import com.lichongbing.lyoggl.mapper.VflagsMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *
 */
@Service
public class VflagsServiceImpl extends ServiceImpl<VflagsMapper, Vflags>
    implements VflagsService{
    @Autowired
    private VflagsMapper vflagsMapper;
    @Override
    public List<Vflags> findAll(String userId) {
        return vflagsMapper.findAll(userId);
    }

   @Override
   public List<Vflags> getByPid(String pid){
       return vflagsMapper.getByPid(pid);
    }
}
